package com.xjscrm.common.vo.tasktagauto;

import com.xjscrm.common.annotation.ExcelField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("客户群返回对象")
public class WwGroupVo {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("运营商id")
    private Long merId;

    @ApiModelProperty("机器人wxid")
    private String deviceId;

    @ApiModelProperty("机器人主键id")
    private Long deviceUniqueId;

    @ApiModelProperty("群wxid")
    private String groupWxid;

    @ApiModelProperty("群昵称")
    @ExcelField(name = "客户群",sort = 1)
    private String groupName;

    @ApiModelProperty("建群人wxid")
    private String createWxid;

    @ApiModelProperty("群类型（0=内部群；1=外部群）")
    private Integer groupType;

    @ApiModelProperty("群成员总数")
    @ExcelField(name = "群人数",sort = 2)
    private Integer memberTotal;

    @ApiModelProperty("群创建时间")
    @ExcelField(name = "建群时间",sort = 7)
    private Integer groupCreateTime;

    @ApiModelProperty("群修改时间")
    private Integer groupUpdateTime;

    @ApiModelProperty("版本号")
    private Long version;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("同步时间")
    private Integer pushTime;

    @ApiModelProperty("创建时间")
    private Integer createTime;

    @ApiModelProperty("修改时间")
    private Integer updateTime;

    @ApiModelProperty("机器人微信昵称")
    @ExcelField(name = "机器人",sort = 4)
    private String deviceName;

    @ApiModelProperty("群标签列表")
    @ExcelField(name = "群标签",sort = 5)
    private List<String> tagNames;

    @ApiModelProperty(value = "群管理员ID列表",hidden = true)
    private String adminWxIds;

    @ApiModelProperty("群主微信昵称")
    @ExcelField(name = "群主",sort = 3)
    private String createUserName;

    @ApiModelProperty(value = "群管理员列表")
    private List<String>  adminUserNames;

    @ApiModelProperty("群成员是否能修改群名开关（0-不能修改，1-可以修改）")
    @ExcelField(name = "群成员改群名",sort = 6)
    private Integer updateGroupName;


   @ApiModelProperty("群头像")
    private String headImageUrl;

   @ApiModelProperty("机器人微信头像")
   private String deviceHeadImageUrl;
}
